<?PHP
    /**
    * @brief Common Variables
    * @file dbconn.php
    * @author Magicsoft (developers@magicsoft.com)
    * @date 2013-04-03
    * @copyright Copyright (c) 2013, Magicsoft
    **/

    if (!defined("__PLAYPLUS__")) exit;

    $pp['charset']="utf-8";
    $pp['title']="PLAYPLUS";
    $pp['cookie_domain']=$_SERVER["SERVER_NAME"];

    $pp['inc']="include";
    $pp['inc_path']=$pp['path']."/".$pp['inc'];
    $pp['js']="script";
    $pp['js_path']=$pp['path']."/".$pp['js'];
    $pp['lib']="lib";
    $pp['lib_path']=$pp['path']."/".$pp['lib'];
    $pp['data']="data";
    $pp['data_path']=$pp['path']."/".$pp['data'];
    $pp['css']="css";
    $pp['css_path']=$pp['path']."/".$pp['css'];
    $pp['img']="images";
    $pp['img_path']=$pp['path']."/".$pp['img'];
    $pp['adm']="admin";
    $pp['adm_path']=$pp['path']."/".$pp['adm'];
    $pp['adm_image']=$pp['adm_path']."/".$pp['img'];
    $pp['adm_inc']=$pp['adm_path']."/".$pp['inc'];

    $pp['page_per_record'] = 15;
    $pp['block_per_page'] = 10;

    $pp['upload_file_ext']=array("jpg", "jpeg", "png", "gif", "bmp", "zip", "alz", "torrent", "swf", "pdf", "psd");

    $pp['table_prefix']="ms_";
    $pp['board_prefix']=$pp['table_prefix']."board_";
    $pp['table_comment_suffix']="_comment";
    $pp['table_file_suffix']="_file";
    $pp['user_table']=$pp['table_prefix']."user";
    $pp['memo_table']=$pp['user_table']."memo";
    $pp['config_table']=$pp['table_prefix']."board_config";
    $pp['order_table']=$pp['table_prefix']."order";
    $pp['basket_table']=$pp['table_prefix']."basket";
?>